<?php
class Default_SvcController extends Zend_Controller_Action 
{    
	public function preDispatch(){
		$this->tplDirectory = "default/index/";
	}
	
	public function indexAction()
    {	
		echo Cff::renderTpl($this->tplDirectory."index.tpl","layout");	
    }
	public function webServiceAction(){          
            
		$server = new SoapServer(APPLICATION_PATH."/../data/wsdl/CffSvc.wsdl");
		$server->setClass('Default_Service_Svc');
		$server->handle();		        
    }
	public function wsdlAction(){
		header("Content-type: text/xml; Charset=utf-8");
		echo  file_get_contents(APPLICATION_PATH."/../data/wsdl/CffSvc.wsdl");	
	}
	
	public function testAction(){
		//$return =  Merchant_Service_Orders::stop('WA03521203160016');
		//print_r($return);exit;
		//die;
		//ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
	
		$r = file_get_contents("http://admin.chinafullfill.com/default/sys/cleartmp");
		if($r=="1"){
			echo "清除wsdl缓存成功<br/>";
		}
		$apiUrl= 'http://test.chinafullfill.com/default/svc/wsdl';
		$client =   new SoapClient($apiUrl,array('trace' => 1,'exceptions' => 1,'encoding' => 'UTF-8'));
		
		
		
		
		

		
          $req = array('AsnCode'=>'TA0363120713005','detailLevel'=>'1','HeaderRequest'=>array('customerId'=>'A0363','appToken'=>'asdffffffffffffffffffffffffasdfasdfasdfasdfasdfaffffffffffffffffffffffffffffffddddddddddddddddd','appKey'=>'ffdddfdfdeaadffffffffffffffasdf'));
          $result = $client->getAsnInfo($req);
		
		var_dump($result);
		
		die;
		
		
		
		
		
		
// 		$AsnProccess = new Merchant_Service_AsnProccess();
// 		$result = $AsnProccess->deleteAsnProduct("R42120618001", array("12312333"), "42");
// 		var_dump($result);
// 		exit;

// 		$AsnProccess = new Merchant_Service_AsnProccess();
// 		$result = $AsnProccess->updateReceive("RA0363120619001", 
// 				array("description"=>"0000","ref_id"=>"000"),
// 				array(
// 						array("product_sku"=>"10010837","order_qty"=>"1000","is_qc"=>"2","ri_sort"=>"3"),
// 					 	array("product_sku"=>"10011239","order_qty"=>"1000","is_qc"=>"2","ri_sort"=>"3")
// 				  ), 
// 				"A0363");
// 		var_dump($result);
// 		exit;
		
		
		////////////////////////////////////updateAsnProducts////////////////////////
		
		$req = array('AsnCode'=>'RA0363120711002',				
				"ASNInfo"=>array(
								"referenceNo"=>"referenceNosdfsfsfsfs",
								"instructions"=>"instructionssdfsdfsdfsd",
	                        	'contact'=>'欧弘涛',
	                        	'contactMobile'=>'13632744751',
								"ASNDetail"=>array(
										            array('sku'=>'10000016','quantity'=>300,'isQC'=>1,'priorityLevel'=>0),
										            array('sku'=>'10000034','quantity'=>300,'isQC'=>0,'priorityLevel'=>0),
													),
						),
				'HeaderRequest'=>array('customerId'=>'A0363',
						'appToken'=>'asdffffffffffffffffffffffffasdfasdfasdfasdfasdfaffffffffffffffffffffffffffffffddddddddddddddddd',
						'appKey'=>'ffdddfdfdeaadffffffffffffffasdf')
				);

		$result = $client->updateASN($req);		
		var_dump($result);exit;
		/**/
		
		////////////////////////////////////deleteAsnProduct////////////////////////
		/*
		$req = array('AsnCode'=>'RA0363120619001',"Skus"=>array(array("sku"=>"10010837")),'HeaderRequest'=>array('customerId'=>'A0363','appToken'=>'asdffffffffffffffffffffffffasdfasdfasdfasdfasdfaffffffffffffffffffffffffffffffddddddddddddddddd','appKey'=>'ffdddfdfdeaadffffffffffffffasdf'));
		// 		$req = array('AsnCode'=>'RA0363120618004',"Skus"=>array(array("sku"=>"13001655")),'HeaderRequest'=>array('customerId'=>'A0363','appToken'=>'asdffffffffffffffffffffffffasdfasdfasdfasdfasdfaffffffffffffffffffffffffffffffddddddddddddddddd','appKey'=>'ffdddfdfdeaadffffffffffffffasdf'));
		// 		$req = array('AsnCode'=>'RA0363120618004',"Skus"=>array("sku"=>"13001655"),'HeaderRequest'=>array('customerId'=>'A0363','appToken'=>'asdffffffffffffffffffffffffasdfasdfasdfasdfasdfaffffffffffffffffffffffffffffffddddddddddddddddd','appKey'=>'ffdddfdfdeaadffffffffffffffasdf'));
		
		$result = $client->deleteAsnProduct($req);
		
		var_dump($result);exit;
		*/
/*
		 $req = array('ordersCode'=>'WA03521203160016',
				'HeaderRequest'=>array('customerId'=>'A0256','appToken'=>'asdffffffffffffffffffffffffasdfasdfasdfasdfasdfaffffffffffffffffffffffffffffffddddddddddddddddd','appKey'=>'ffdddfdfdeaadffffffffffffffasdf'));
		$result = $client->stopOrder($req);
		var_dump($result);
		die;
		 */
		/////////////////createProduct/////////////////////
		/* $sku = date("YmdHis");
		 $req = array('ProductInfo'=>
						array('skuName'=>$sku,'weight'=>0.25,'length'=>10,'declareValue'=>21,
						'width'=>10,'height'=>20,'categoryId'=>2,'minQty'=>2,'image'=>array('imgUrl'=>'http://www.sfcservice.com/logo.jpg'),
						'sku'=>$sku,'package'=>0),
						'HeaderRequest'=>array('customerId'=>'A0363','appToken'=>'asdffffffffffffffffffffffffasdfasdfasdfasdfasdfaffffffffffffffffffffffffffffffddddddddddddddddd','appKey'=>'ffdddfdfdeaadffffffffffffffasdf'));
		$result = $client->createProduct($req);
		
// 		 var_dump($result);exit;
		 */
		/////////////////updateProduct/////////////////////
		/*
		
		 $req = array('ProductModifyInfo'=>
		 		array('image'=>array('imgUrl'=>'http://121.15.134.94:8086/disimage.php?id=12003780&img=image.jpg'),
		 				'sku'=>'10000001','package'=>4,
		 				"qcs"=>array(array("pocId"=>"15","poValue"=>"15"),array("pocId"=>"18","poValue"=>"18"),array("pocId"=>"20","poValue"=>"20"))	,
		 				"productIsQc"=>"1"	
		 				),
		 		'HeaderRequest'=>array('customerId'=>'A0363','appToken'=>'asdffffffffffffffffffffffffasdfasdfasdfasdfasdfaffffffffffffffffffffffffffffffddddddddddddddddd','appKey'=>'ffdddfdfdeaadffffffffffffffasdf'));
		$result = $client->updateProduct($req);
		
		var_dump($result);exit;
		 * 
		 */
		/////////////////testSoap/////////////////////
		/*
		$req = array('ordersCode'=>"sdfsdfsdfds",
				'HeaderRequest'=>array('customerId'=>'A0363','appToken'=>'asdffffffffffffffffffffffffasdfasdfasdfasdfasdfaffffffffffffffffffffffffffffffddddddddddddddddd','appKey'=>'ffdddfdfdeaadffffffffffffffasdf'));
		$result = $client->testSoap($req);
		
		var_dump($result);exit;
		
		 * 
		 */
		////////////////////////////////////createASN///////////////////
		
		$orderDetail = array(
            array('sku'=>'10000016','quantity'=>300,'isQC'=>1,'priorityLevel'=>0),
            array('sku'=>'10000034','quantity'=>300,'isQC'=>0,'priorityLevel'=>0),
            array('sku'=>'10000036','quantity'=>300,'isQC'=>0,'priorityLevel'=>0),
        );
		
		
		 $req = array('ASNInfo'=>
						array(
                            //'referenceNo'=>'dfdfdfd-55',
                        	'instructions'=>'sdf sdfdsfsdf',
                        	'contact'=>'欧弘涛',
                        	'contactMobile'=>'13632744751',
							'ASNDetail'=>$orderDetail),
             'HeaderRequest'=>array('customerId'=>'A0363','appToken'=>'asdffffffffffffffffffffffffasdfasdfasdfasdfasdfaffffffffffffffffffffffffffffffddddddddddddddddd','appKey'=>'ffdddfdfdeaadffffffffffffffasdf'));
		$result = $client->createASN($req);
		
        var_dump($result);
        exit;
        /* */
		////////////////////////////////////Get ASN////////////////////////
// 		$pObj = new Merchant_Service_AsnProccess();
// 		$b = $pObj->getAsnInfo("RA0363120703009","A0363");
// 		print_r($b);
// 		exit;
		/*
          $req = array('AsnCode'=>'RA0363120703009','detailLevel'=>'1','HeaderRequest'=>array('customerId'=>'A0363','appToken'=>'asdffffffffffffffffffffffffasdfasdfasdfasdfasdfaffffffffffffffffffffffffffffffddddddddddddddddd','appKey'=>'ffdddfdfdeaadffffffffffffffasdf'));
          $result = $client->getAsnInfo($req);
          print_r($result);
        
       exit;
              echo "=====>\n";
         */
      // $asnMode=new Merchant_Service_AsnProccess();
       //      $rs=$asnMode->getAsnInfo('RA0363120604005','A0363');
        //  var_dump($rs);

          ////////////////////////////////////UpdateASNStatus////////////////////////
          /**/
		/*
		$req = array('AsnCode'=>'RA0256120530010',"AsnStatus"=>1,
				'HeaderRequest'=>array('customerId'=>'A0256','appToken'=>'asdffffffffffffffffffffffffasdfasdfasdfasdfasdfaffffffffffffffffffffffffffffffddddddddddddddddd','appKey'=>'ffdddfdfdeaadffffffffffffffasdf'));
		
		$result = $client->updateAsnStatus($req);
		
		var_dump($result);exit;
		
		
		////////////////////////////////////updateProductStatu///////////////////
		 */ 
              
              
		/* 
		$req = array('sku'=>$sku,'statu'=>1,						
						'HeaderRequest'=>array('customerId'=>'A0363','appToken'=>'asdffffffffffffffffffffffffasdfasdfasdfasdfasdfaffffffffffffffffffffffffffffffddddddddddddddddd','appKey'=>'ffdddfdfdeaadffffffffffffffasdf'));
		$result = $client->updateProductStatu($req);
		var_dump($result);exit;
		 */
		////////////////////////////////////createOrder///////////////////
	 
	 
		/*
		$orderDetail = array(array('sku'=>'10000001','quantity'=>1,'op_description'=>"english",'cn_description'=>"中文"),
						array('sku'=>'10000002','quantity'=>1,'op_description'=>"english",'cn_description'=>"中文"));
		$req = array('HeaderRequest'=>array('customerId'=>'A0363','appToken'=>'asdffffffffffffffffffffffffasdfasdfasdfasdfasdfaffffffffffffffffffffffffffffffddddddddddddddddd','appKey'=>'ffdddfdfdeaadffffffffffffffasdf'),
						'orderInfo'=>array('consigneeFirstName'=>'gsfd afd','consigneeLastName'=>'sdfsd d',
						'consigneeCompany'=>'sdf sdf','consigneeCountry'=>'USA','shippingMethodCode'=>'HKBRAM',
						'consigneeZip'=>'518000','consigneeCity'=>'sz','consigneeState'=>'GD',
						'consigneeAddress1'=>'dsfd asdfdf343','consigneeAddress2'=>'sdfds ere3435555',
						'consigneePhone'=>'43543543543','consigneeEmail'=>'sdfdsf','orderStatu'=>1,
						'instructions'=>'sdfsdf sdafsd','orderDetail'=>$orderDetail));
		$result = $client->createOrder($req);
		var_dump($result);
		*/
		///////////////////////////getCountry///////////////////
		
		/*$req = array( 				
						'HeaderRequest'=>array('customerId'=>'A0256','appToken'=>'asdffffffffffffffffffffffffasdfasdfasdfasdfasdfaffffffffffffffffffffffffffffffddddddddddddddddd','appKey'=>'ffdddfdfdeaadffffffffffffffasdf'));
		$result = $client->getCountry($req);
		
		*/
		///////////////////////////getShippingMethod///////////////////
		/*
		$req = array( 				
						'HeaderRequest'=>array('customerId'=>'A0256','appToken'=>'asdffffffffffffffffffffffffasdfasdfasdfasdfasdfaffffffffffffffffffffffffffffffddddddddddddddddd','appKey'=>'ffdddfdfdeaadffffffffffffffasdf'));
		$result = $client->getShippingMethod($req);
		*/
		
		/////////////////////////////getOrderByCode////////////////
		/*
		$req = array( 	'ordersCode'=>'WA02561203140021',
						//'detailLevel'=>0,
						'HeaderRequest'=>array('customerId'=>'A0256','appToken'=>'asdffffffffffffffffffffffffasdfasdfasdfasdfasdfaffffffffffffffffffffffffffffffddddddddddddddddd','appKey'=>'ffdddfdfdeaadffffffffffffffasdf'));
		$result = $client->getOrderByCode($req);
		*/
		
		//////////////////////getOrderByCode/////////////////////////
		/*
		$createTime = array('start'=>'2012-03-14 18:18:26');
		$req = array( 	//'ordersCode'=>'WA02561203140021',
						//'detailLevel'=>0,
						'createTime'=>$createTime,
						'HeaderRequest'=>array('customerId'=>'A0256','appToken'=>'asdffffffffffffffffffffffffasdfasdfasdfasdfasdfaffffffffffffffffffffffffffffffddddddddddddddddd','appKey'=>'ffdddfdfdeaadffffffffffffffasdf'));
		$result = $client->getOrders($req);
		*/
		
		///////////////////////////////updateOrderStatu////////////////////////
		 /*
		$req = array( 	//'ordersCode'=>'WA02561203140021',
						//'detailLevel'=>0,
						'statu'=>3,
						'ordersCode'=>'WA02561203130010',
						'HeaderRequest'=>array('customerId'=>'A0256','appToken'=>'asdffffffffffffffffffffffffasdfasdfasdfasdfasdfaffffffffffffffffffffffffffffffddddddddddddddddd','appKey'=>'ffdddfdfdeaadffffffffffffffasdf'));
		$result = $client->updateOrderStatu($req);
		*/
	    /*
		$req = array( 	//'ordersCode'=>'WA02561203140021',
						//'detailLevel'=>0,
						'detailLevel'=>1,
						'AsnCode'=>'RA0256120213004',
						'HeaderRequest'=>array('customerId'=>'A0256','appToken'=>'asdffffffffffffffffffffffffasdfasdfasdfasdfasdfaffffffffffffffffffffffffffffffddddddddddddddddd','appKey'=>'ffdddfdfdeaadffffffffffffffasdf'));
		$result = $client->getAsnInfo($req);
		 var_dump($result);
		 */
		///////////////////////////////create order///////////////////////
		 /*
		$orderInfo = array(
            'referenceNo' => 'CA132055948440',
            'consigneeFirstName' => 'karen',
            'consigneeLastName' => 'Carney',
            'consigneeCompany' => '',
            'consigneeCountry' => 'United States Of America',
            'shippingMethodCode' => 'HKBRAM',
            'consigneeZip' => '67205-2403',
            'consigneeCity' => 'Wichita',
            'consigneeState' => 'CA',
            'consigneeAddress1' => '2304 N Lighthouse Cv',
            'consigneeAddress2' => '',
            'consigneePhone' => '316 304 2668',
            'consigneeEmail' => 'karencarn@gmail.com',
            'orderStatu' => '3',
            'instructions' => '111111111111',
            'regAccType' => 'Ebay',
            'regAccount' => 'TheStyleHome.com ebay',
            'orderDetail' => array
                (
                    '0' => array
                        (
                            'sku' => '15000228',
                            'quantity' => '1',
                            'refTxnId' => '605052634014',
                            'refItemId' => '330566880371',
                            'refPayDate' => '2011-11-04 11:19:00',
                            'refTitle' => '20 Silver Plated Barrel Jewelry Magnetic Clasps 5x15mm',
                            'refWorth' => '8.75'
                        )

                )

        );
		*/
		/*
		$orderDetail = array(array('sku'=>'15005237','quantity'=>1,'refTxnId'=>'32443','refItemId'=>'34343433','refPayDate'=>'2012-03-20 00:54:25','refTitle'=>'dasf sadfdsfs','refWorth'=>'0.25'));
							// array('sku'=>'15000228','quantity'=>1,'refTxnId'=>'32443','refItemId'=>'34343433','refPayDate'=>'2012-03-20 00:54:25','refTitle'=>'dasf sadfdsfs','refWorth'=>'0.25'));
		 
		$req = array('orderInfo'=>array('consigneeFirstName'=>'gsfd afd','consigneeLastName'=>'sdfsd d',
						'consigneeCompany'=>'sdf sdf','consigneeCountry'=>'USA','shippingMethodCode'=>'HKBRAM',
						'consigneeZip'=>'518000','consigneeCity'=>'sz','consigneeState'=>'GD',
						'consigneeAddress1'=>'dsfd asdfdf343','consigneeAddress2'=>'sdfds ere3435555',
						'consigneePhone'=>'43543543543','consigneeEmail'=>'sdfdsf','orderStatu'=>3,
						'instructions'=>'sdfsdf sdafsd','regAccType'=>'Ebay','regAccount'=>'suntekstore.ca','orderDetail'=>$orderDetail),
						'HeaderRequest'=>array('customerId'=>'A0363','appToken'=>'asdffffffffffffffffffffffffasdfasdfasdfasdfasdfaffffffffffffffffffffffffffffffddddddddddddddddd','appKey'=>'ffdddfdfdeaadffffffffffffffasdf'));
		*/
		
 		
/*
 * 
  
		  $orderInfo = array (
		    'referenceNo'=>"",
		    'consigneeFirstName'=> "Adrian",
		    'consigneeLastName'=>"Jones",
		    'consigneeCompany'=>'',
		    'consigneeCountry'=>"Australia",
		    'shippingMethodCode'=> "HKBRAM",
		    'consigneeZip'=> "123465",
		    'consigneeCity'=> "Semaphore Park",
		    'consigneeStat'=>"South Australia",
		    'consigneeAddress1'=>"11 Oriole Place",
		    'consigneeAddress2'=>0,
		    'consigneePhone'=>"08 82426854",
		    'consigneeEmail'=>"arj572@gmail.com",
		    'orderStatu'=>3,
		    'instructions'=>'',
		    'regAccType'=> "Ebay",
		    'regAccount'=>"9AMFree.com ebay",
// 		  	'parcelContents'=>"的士大夫来看就是地方就是打开了附近十多年",
		    'orderDetail'=> array(
		      array(
		        'sku'=> "10000095",
		        'quantity'=>1,
		        'refTxnId'=> "631602267014",
		        'refItemId'=>"330588709416",
		        'refPayDate'=> "2012-01-16 15:47:26",
		        'refTitle'=>"BLACK A3 A4 ARTIST ART & DRAWING STORAGE CASE PORTFOLIO",
		        'refTitleCN'=>"可怜的肌肤的肌肤的科技发达了dddddddddddd恐惧",
		        'refWorth'=>9.45
		      ),
                array(
                    'sku'=> "10000034",
                    'quantity'=>1,
                    'refTxnId'=> "631602267014",
                    'refItemId'=>"330588709416",
                    'refPayDate'=> "2012-01-16 15:47:26",
                    'refTitle'=>"BLACK A3 A4 ARTIST ART & DRAWING STORAGE CASE PORTFOLIO",
		       		'refTitleCN'=>"打开来付款了来了空空空空空空",
                    'refWorth'=>9.45
                )
		    )
		  );
		$req = array('orderInfo'=>$orderInfo,'HeaderRequest'=>array('customerId'=>'A0363','appToken'=>'asdffffffffffffffffffffffffasdfasdfasdfasdfasdfaffffffffffffffffffffffffffffffddddddddddddddddd','appKey'=>'ffdddfdfdeaadffffffffffffffasdf'));
		$result = $client->createEspecialOrder($req);
		var_dump($result);
 	
 */
		/*

		$req = array('sku'=>'12008091','detailLevel'=>'1',						
						'HeaderRequest'=>array('customerId'=>'STK01','appToken'=>'AAAAB3NzaC1yc2EAAAABJQAAAIBK0XN7ybSM7JwB6AYtDtvKjo9Pv5yX84UQU1Mizmup2cEvp5edJ78I4kNgPBnLvO8GS31HGuSj89FujGCdqdJkScCW/HCjTkuZ5pgS7PJfciMwBieaMVo4sk4wlaomKOqv4Y4cILrmawBf5J66RT0A9+unvlBdC8XDUsN5rTVYEw','appKey'=>'ASTK013NzaC1yc2EAAAABJQAAAIEAiOHoThb9UQ3GVO/h/c9kYpy+79T3V1TkU4FWt5lm+rJpzkXRT7JYqp22/rmx1Sg280kK6M1askvyM1w2IvUWvcsz0rzHZebqK+UdMDYzuDBQ6CUDb4sToJwciGq2vsf4f5mNlfUi2AE1jAP0eA7McfGbsvp4Xddzt+/RWAPrv7s'));
		
		//$req = array('sku'=>'1sd66s444',
		//				'detailLevel'=>'1',
		//				'HeaderRequest'=>array('customerId'=>'A0256','appToken'=>'asdffffffffffffffffffffffffasdfasdfasdfasdfasdfaffffffffffffffffffffffffffffffddddddddddddddddd','appKey'=>'ffdddfdfdeaadffffffffffffffasdf'));
		$result = $client->getProductBySKU($req);
		var_dump($result);
		*/
		//var_dump($client->__getFunctions());
	}	
	public function test22Action(){
		$apiUrl= 'https://www.easy2export.com/ext/wstest/api.php?WSDL';
		$client =   new SoapClient($apiUrl,array('trace' => 1,'exceptions' => 1,'encoding' => 'UTF-8'));
		$req = array('oss_id'=>'1898','partner_name'=>'SFC',
					'partner_id'=>'SFC','status'=>'5',
					'message'=>'Campaign_Mar21_2010Activation ',
					'partners_amounts'=>'300.03',
					'activity_name'=>'Campaign_Mar21_2010Activation');
		$result = $client->updateUserStatus($req);
		var_dump($client->__getLastRequest());
		var_dump($result);
	}	
	public function test3Action(){
		
		$pObj = new Merchant_Service_AsnProccess();
		$asnInfo = $pObj->getAsnInfo("RA0363120608002","A0363");
		print_r($asnInfo);
		exit;
		
		$serviceObj = new Merchant_Service_Product();
		$sku = "bbbbbbbbbbbbbb";
		$row = array("product_is_qc"=>1);
		$customerId = "A0317";
		$skuImg = array("http://121.15.134.94:8086/disimage.php?id=12003774&img=image.jpg","http://121.15.134.94:8086/disimage.php?id=12003774&img=image.jpg","http://121.15.134.94:8086/disimage.php?id=12003774&img=image.jpg","http://121.15.134.94:8086/disimage.php?id=12003774&img=image.jpg",);
		$package = "9";
		$qcArr = array(array("poc_id"=>15,"po_id"=>4,"po_value"=>"213123"),array("poc_id"=>14,"po_id"=>4,"po_value"=>"213123"));
		$r = $serviceObj->svcUpdate($sku,$row,$customerId,$skuImg,$package,$qcArr);
		print_r($r);
	}
	
	public function getAction(){
			$apiUrl= 'http://www.chinafulfill.com/default/svc/wsdl';
		$client =   new SoapClient($apiUrl,array('trace' => 1,'exceptions' => 1,'encoding' => 'UTF-8'));

	
		
		
		$req =array('AsnCode'=>'RSTK01120718038','detailLevel'=>'1','HeaderRequest'=>array('customerId'=>'STK01','appToken'=>'AAAAB3NzaC1yc2EAAAABJQAAAIBK0XN7ybSM7JwB6AYtDtvKjo9Pv5yX84UQU1Mizmup2cEvp5edJ78I4kNgPBnLvO8GS31HGuSj89FujGCdqdJkScCW/HCjTkuZ5pgS7PJfciMwBieaMVo4sk4wlaomKOqv4Y4cILrmawBf5J66RT0A9+unvlBdC8XDUsN5rTVYEw','appKey'=>'ASTK013NzaC1yc2EAAAABJQAAAIEAiOHoThb9UQ3GVO/h/c9kYpy+79T3V1TkU4FWt5lm+rJpzkXRT7JYqp22/rmx1Sg280kK6M1askvyM1w2IvUWvcsz0rzHZebqK+UdMDYzuDBQ6CUDb4sToJwciGq2vsf4f5mNlfUi2AE1jAP0eA7McfGbsvp4Xddzt+/RWAPrv7s'));
          $result = $client->getAsnInfo($req);
          print_r($result);
        
       exit;
	
	}
	
	
}